<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>长径比、料棒长度计算</title>
    <link rel="stylesheet" href="zhiquan.css">
    <script src="nian.js"></script>
</head>

<body>
    <h1 id="fang_title">长径比、料棒长度计算</h1>

<div id="zhiquan">

    <div id="fang_tiji" style="text-align: center;">
        <span>切料重量：</span>
        <input id="qieliao" type="text" >
    </div>

    <div id="fang_duobao" style="text-align: center;">
        <span>料棒直径：</span>
        <input id="zhijing" type="text">
    </div>

    <div id="fang_duobao" style="text-align: center;">
        <span>镦粗高度：</span>
        <input id="duncu" type="text" value="1">
    </div>

	 <div id="fang_duan" style="text-align: center;">
        <span>料棒长度：</span>
        <span class="zhiliang" id="liaobang">0</span>
    </div>

    <div id="fang_liao" style="text-align: center;">
        <span>长径比：&nbsp&nbsp&nbsp&nbsp</span>
        <span class="zhiliang" id="changjingbi">0</span>
    </div>

    <div id="fang_xia" style="text-align: center;">

        <span>镦粗比：&nbsp&nbsp&nbsp&nbsp</span>
        <span class="zhiliang" id="duncubi">0</span>
        
    </div>

</div> 

    <div style="text-align: center;margin-top: 40px;">
        <button onclick="deal_fangV()">计算数据</button>
        <button onclick="delete_data()">清除数据</button>
    </div>

</body>
</html>